import request from '@/utils/request'

// 获取二维码列表
export function getStuCostPage(params = {}) {
  return request({
    url: '/stu/cost/getStuCostPage',
    method: 'get',
    params
  })
}

// 获取二维码详情
export function getStuCostInfo(data = {}) {
    return request({
      url: '/stu/cost/getStuCostInfo',
      method: 'post',
      data
    })
  }

// 下单
export function addOrder(data = {}) {
    return request({
      url: '/stu/order/addOrder',
      method: 'post',
      data
    })
  }

// 获取订单详情
export function getOrderInfo(data = {}) {
    return request({
      url: '/stu/order/getOrderInfo',
      method: 'post',
      data
    })
  }